package com.yyt.database_demo.repository;

import com.yyt.database_demo.domain.Aaaa;
import com.yyt.database_demo.domain.PrimaryKey;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author yeyangtao
 * @date 2020/5/30 19:12
 */
public interface AaaaRepo extends JpaRepository<Aaaa,PrimaryKey>, JpaSpecificationExecutor<Aaaa> {

    Aaaa findAllByIdClassAndName(PrimaryKey ids,String name);
}
